<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" id="viewport" content="width=device-width, initial-scale=1,maximllm-scale=1,user-scalable=no" >
<title>跳转提示</title>
<style type="text/css">
*{ padding: 0; margin: 0; }
body{font-family: '微软雅黑'; color: #000; font-size: 16px;background:-moz-linear-gradient(top, #089dfb, rgba(241, 254, 255, 0.5));
	  background:-webkit-linear-gradient(top, #089dfb, rgba(241, 254, 255, 0.5));
	  background:-o-linear-gradient(top, #089dfb, rgba(241, 254, 255, 0.5));
	  background:linear-gradient(top, #089dfb, rgba(241, 254, 255, 0.5)); 
	 }
body{
  	width:100%;height:732px;
  	filter:alpha(opacity=100 finishopacity=50 style=1 startx=0,starty=0,finishx=0,finishy=150) progid:DXImageTransform.Microsoft.gradient(startcolorstr=#089dfb,endcolorstr=#f1feff,gradientType=1);
    -ms-filter:alpha(opacity=100 finishopacity=50 style=1 startx=0,starty=0,finishx=0,finishy=150) progid:DXImageTransform.Microsoft.gradient(startcolorstr=#089dfb,endcolorstr=#f1feff,gradientType=1);
  }
 center div {
    margin-bottom: 150px;
}
.system-message{ padding: 28px 48px; }
.system-message h1{ font-size: 80px; font-weight: normal; line-height: 180px; margin-bottom: 12px;text-shadow:2px 2px 2px #333;color:red;padding:50px 0 20px 0; }
.system-message .jump{ padding-top: 10px;margin-bottom:20px}
.system-message .jump a{ color: #333;}
.system-message .success,.system-message .error{ line-height: 1.8em; font-size: 36px }
.system-message .detail{ font-size: 12px; line-height: 20px; margin-top: 12px; display:none}
#wait {
    font-size:46px;
}
.relat{
	position:relative;
}
.relat .imgzip{
	width:300px;
	height:200px;
	position:absolute;
	top:10px;
	left:40px;
	background:url(../../../../Public/imgzip/1.png) no-repeat;
}
#btn-stop,#href{
    display: inline-block;
    margin-right: 10px;
    font-size: 16px;
    line-height: 18px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 0 none;
    background-color: green;
    padding: 10px 20px;
    color: #fff;
    font-weight: normal;
    border-color: transparent;
    text-decoration:none;
    margin-top:30px;
    transition:all 0.1s ease;
}
#btn-stop{
	background-color:red;
}
 
#btn-stop:hover,#href:hover{
   /* background-color: #ff0000;*/
  /* padding:16 20px;*/
    /* border-radius:10px;*/
  box-shadow:2px 2px 3px #001;
}
@media screen and (max-width:414px){
	center div {
   		 margin-bottom: 0;
	}
	.system-message{ padding: 28px 48px; }
	.system-message h1{ font-size: 35px; font-weight: normal; line-height: 60px; margin-bottom: 12px;text-shadow:2px 2px 2px #333;color:red;padding:50px 0 20px 0; }
	.system-message .jump{ padding-top: 160px;margin-bottom:20px}
	.system-message .jump a{ color: #333;}
	.system-message .success,.system-message .error{ line-height: 1.8em; font-size: 36px }
	.system-message .detail{ font-size: 12px; line-height: 20px; margin-top: 12px; display:none}
	#wait {
	    font-size:46px;
	}
	.relat{
		position:relative;
	}
	.relat .imgzip{
		width:300px;
		height:190px;
		position:absolute;
		top:50px;
		left:-20px;
		background:url(../../../../Public/imgzip/1.png) no-repeat;
		background-size:100% 100%;
	}
}
@media screen and (width:320px){
	.system-message {
       padding: 60px 48px;
     }
	body{
		height:568px;
	}
	.system-message .error {
       line-height: 1em;
       font-size: 26px;
    }
    .system-message h1 {
       font-size: 35px;
       line-height:50px;
       margin-bottom:10px;
       padding: 10px 0 20px 0;
    }
	center div {
		width:500px;
   		margin-bottom: 0;
        margin-left: -120px;
	}
	.relat{
		position:relative;
	}
	.relat .imgzip {
    	width: 260px;
    	height: 190px;
    	position: absolute;
   		top: 30px;
    	left: 96px;
    	background: url(../../../../Public/imgzip/1.png) no-repeat;
    	background-size: 100% 100%;
	}
}
@media screen and (width:768px){
	body{height:1024px;}
	.system-message .success, .system-message .error {
	    line-height: 3em;
	    font-size: 40px;
	    margin-left: 190px;
     }
	.system-message .jump {
		font-size:30px;
       padding-top: 10px;
       margin-bottom: 20px;
       margin-left: 180px;
    }
	.relat .imgzip {
		width:380px;
		height:300px;
       top: 160px;
       left: -30px;
       background-size:100% 100%;
      }
      #btn-stop, #href {margin-top:230px;font-size: 32px;
    line-height: 45px;}
}
@media screen and (width:1024px){
	body{height:1366px;}
	.system-message .success,.system-message .error{ line-height: 3em; font-size:60px }
	.relat .imgzip {
	    width: 600px;
	    height: 400px;
	    top: 560px;
	    left: 100px;
	    background-size: 100% 100%;
    }
    .system-message .jump{font-size:38px;}
    #btn-stop, #href {
	    display: inline-block;
	    margin-right: 60px;
	    font-size: 30px;
	    line-height: 18px;
	    text-align: center;
	    vertical-align: middle;
	    cursor: pointer;
	    border: 0 none;
	    padding: 30px 50px;
	    color: #fff;
	    font-weight: bold;
	    border-color: transparent;
	    text-decoration: none;
	    margin-top: 100px;
	    transition: all 0.1s ease;
	}
	center div {
     margin-bottom: 0px;
	}
}
</style>
</head>
<body >
<div class="system-message">
<center><h1>sorry, 出错了!</h1></center>
<center class="relat">
<div class="imgzip"></div>
<p class="error"><?php echo($error); ?></p>
<p class="detail"></p>
<p class="jump">
<b id="wait"><?php echo($waitSecond); ?></b> 秒后页面将自动跳转
</p>
</center>
<center><div>
    <a id="href" id="btn-now" href="<?php echo($jumpUrl); ?>">立即跳转</a> 
    <!-- <button id="btn-stop" type="button" onclick="stop()">停止跳转</button>  -->
    <!-- <a id="href" id="btn-now" href="<?php echo(U('admin/login/index')); ?>">重新登录</a>  -->
</div></center>
</div>
<script type="text/javascript">
(function(){
 var wait = document.getElementById('wait'),href = document.getElementById('href').href;
 var interval = setInterval(function(){
     	var time = --wait.innerHTML;
     	if(time <= 0) {
     		location.href = href;
     		clearInterval(interval);
     	};
     }, 1000);
  window.stop = function (){
         console.log(111);
            clearInterval(interval);
 }
 })();
</script>
</body>
</html>